// import { createApp } from 'vue'
// import App from './App.vue'
// import Vue from 'vue'
// import ElementUI from 'element-ui';
// import 'element-ui/lib/theme-chalk/index.css';

// Vue.use(ElementUI);
// createApp(App).mount('#app')
import Vue from 'vue'
import App from './App.vue'
import router from './router'
// import Router from 'vue-router'
 
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import dataV from '@jiaminghi/data-view'

Vue.use(dataV)

Vue.use(ElementUI);
Vue.config.productionTip = false
// export default new Router({
//     mode: 'history', // 去掉url中的#
//     scrollBehavior: () => ({ y: 0 }), 
//   })
new Vue({
  el: '#app',
  router,

  render: h => h(App),
}).$mount('#app')
